import Datastore from 'nedb';
import path from 'path';
import {remote} from 'electron';

// const {remote} = require('electron').remote;

export default new Datastore({
    autoload: true,
    filename: path.join(remote.app.getPath('userData'), '/data.db')
})